
using System.Collections;
using Qdb.Ext;
using Qdb.Foundation;

namespace Qdb.Internal
{
	/// <exclude></exclude>
	public sealed class ObjectInfoCollectionImpl : IObjectInfoCollection
	{
		public static readonly IObjectInfoCollection Empty = new Qdb.Internal.ObjectInfoCollectionImpl
			(Iterators.EmptyIterable);

		public IEnumerable _collection;

		public ObjectInfoCollectionImpl(IEnumerable collection)
		{
			_collection = collection;
		}

		public IEnumerator GetEnumerator()
		{
			return _collection.GetEnumerator();
		}
	}
}
